package com.ruoyi.exhibition.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 展项列业务对象 f_exhibition
 *
 * @author ztx
 * @date 2023-03-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ExhibitionBo extends BaseEntity {

    /**
     * 展览项目id
     */
    @NotNull(message = "展览项目id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 展项名称
     */
    @NotBlank(message = "展项名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zxName;

    /**
     * 展项楼层
     */
    @NotBlank(message = "展项楼层不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zxFloor;

    /**
     * 展项区域
     */
    @NotBlank(message = "展项区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zxArea;

    /**
     * 是否显示，0不显示，1显示
     */
    @NotBlank(message = "是否显示，0不显示，1显示不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isShow;

    /**
     * 大图地址
     */
    @NotBlank(message = "大图地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bigImg;

    /**
     * 小图地址
     */
    @NotBlank(message = "小图地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String smallImg;

    /**
     * 音频地址
     */
//    @NotBlank(message = "音频地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String audioPath;

    /**
     * 坐标地址x
     */
    @NotBlank(message = "坐标地址x不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zbX;

    /**
     * 坐标地址y
     */
    @NotBlank(message = "坐标地址y不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zbY;

    /**
     * 备注
     */
    private String remark;

    /**
     * 序号
     */
    @NotNull(message = "序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sort;

    /**
     * 展项内容
     */
//    @NotBlank(message = "展项内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;


}
